/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Formulario_Crear_MateriaPrima.java
 *
 * Created on 8/06/2011, 07:27:56 PM
 */
package restaurante;

/**
 *
 * @author Montu
 */
public class Formulario_Crear_MateriaPrima extends javax.swing.JFrame {

    /** Creates new form Formulario_Crear_MateriaPrima */
    public Formulario_Crear_MateriaPrima() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        jTextField3 = new javax.swing.JTextField();
        jButton1 = new javax.swing.JButton();
        B_Cancelar_CrearMateriaPrima = new javax.swing.JButton();
        jLabel4 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N
        getContentPane().setLayout(null);

        jLabel1.setName("L_Nombre_MateriaPrima"); // NOI18N
        getContentPane().add(jLabel1);
        jLabel1.setBounds(60, 80, 110, 0);

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(restaurante.RestauranteApp.class).getContext().getResourceMap(Formulario_Crear_MateriaPrima.class);
        jTextField1.setText(resourceMap.getString("I_Nombre_MateriaPrima.text")); // NOI18N
        jTextField1.setName("I_Nombre_MateriaPrima"); // NOI18N
        jTextField1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField1ActionPerformed(evt);
            }
        });
        getContentPane().add(jTextField1);
        jTextField1.setBounds(180, 80, 150, 20);

        jLabel2.setText(resourceMap.getString("L_Tipo_MateriaPrima.text")); // NOI18N
        jLabel2.setName("L_Tipo_MateriaPrima"); // NOI18N
        getContentPane().add(jLabel2);
        jLabel2.setBounds(130, 130, 34, 14);

        jTextField2.setText(resourceMap.getString("I_Tipo_MateriaPrima.text")); // NOI18N
        jTextField2.setName("I_Tipo_MateriaPrima"); // NOI18N
        getContentPane().add(jTextField2);
        jTextField2.setBounds(180, 130, 150, 20);

        jLabel3.setText(resourceMap.getString("L_Descripcion_MateriaPrima.text")); // NOI18N
        jLabel3.setName("L_Descripcion_MateriaPrima"); // NOI18N
        getContentPane().add(jLabel3);
        jLabel3.setBounds(90, 170, 70, 14);

        jTextField3.setText(resourceMap.getString("I_Descripcion_MateriaPrima.text")); // NOI18N
        jTextField3.setName("I_Descripcion_MateriaPrima"); // NOI18N
        getContentPane().add(jTextField3);
        jTextField3.setBounds(180, 170, 190, 20);

        jButton1.setIcon(resourceMap.getIcon("B_Aceptar_CrearMateriaPrima.icon")); // NOI18N
        jButton1.setText(resourceMap.getString("B_Aceptar_CrearMateriaPrima.text")); // NOI18N
        jButton1.setName("B_Aceptar_CrearMateriaPrima"); // NOI18N
        getContentPane().add(jButton1);
        jButton1.setBounds(90, 230, 100, 40);

        B_Cancelar_CrearMateriaPrima.setIcon(resourceMap.getIcon("B_Cancelar_CrearMateriaPrima.icon")); // NOI18N
        B_Cancelar_CrearMateriaPrima.setText(resourceMap.getString("B_Cancelar_CrearMateriaPrima.text")); // NOI18N
        B_Cancelar_CrearMateriaPrima.setName("B_Cancelar_CrearMateriaPrima"); // NOI18N
        B_Cancelar_CrearMateriaPrima.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                B_Cancelar_CrearMateriaPrimaActionPerformed(evt);
            }
        });
        getContentPane().add(B_Cancelar_CrearMateriaPrima);
        B_Cancelar_CrearMateriaPrima.setBounds(210, 230, 110, 40);

        jLabel4.setText(resourceMap.getString("I_nombre_MateriaP.text")); // NOI18N
        jLabel4.setName("I_nombre_MateriaP"); // NOI18N
        getContentPane().add(jLabel4);
        jLabel4.setBounds(44, 80, 110, 14);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextField1ActionPerformed

    private void B_Cancelar_CrearMateriaPrimaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_B_Cancelar_CrearMateriaPrimaActionPerformed
        // TODO add your handling code here:
        Formulario_Crear_MateriaPrima.this.setVisible(false);
    }//GEN-LAST:event_B_Cancelar_CrearMateriaPrimaActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new Formulario_Crear_MateriaPrima().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton B_Cancelar_CrearMateriaPrima;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    // End of variables declaration//GEN-END:variables
}
